﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shumei.EFCore.Model
{
    public class New
    {
        [Key]
        public int Id { get; set; }

        public string Title { get; set; }
        public string Content { get; set; }
        
        

        public DateTime UploadTime { get; set; }

        public int News_CategoryId { get; set; }
        public virtual News_Category category { get; set; }
        public virtual User user { get; set; }
    }
}
